Skip to content

Fix off-center PopupBox ripple#3843

Merged
Keboo merged 1 commit intomasterfrom
fix3839
May 9, 2025
Merged

Fix off-center PopupBox ripple#3843
Keboo merged 1 commit intomasterfrom
fix3839

Conversation

@nicolaihenriksen
Copy link
Copy Markdown
Contributor

@nicolaihenriksen nicolaihenriksen commented May 2, 2025

Fixes #3839

This PR modifies the MaterialDesignMultiFloatingActionPopupBox and MaterialDesignMultiFloatingActionSecondaryPopupBox styles that are causing the issue.

The root cause of this seems more like a side-effect of using the Ripple in a certain way, rather than an actual bug with the Ripple. At least that is my assumption, based on the fact that we have special code for offsetting the ripple when there is inner content (see here).

In most cases, we don't actually put content inside the Ripple but place it at the same level (i.e. "on top/below content"). I believe this is a case where that is desired as well. So this PR basically lifts the ContentControl up so it is no longer a child of the Ripple, but becomes a sibling instead.

With fix:
PopupBoxRipple

@nicolaihenriksen nicolaihenriksen added this to the 5.3.0 milestone May 2, 2025
@Keboo Keboo merged commit 1e856d0 into master May 9, 2025
2 checks passed
@Keboo Keboo deleted the fix3839 branch May 9, 2025 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Off-centered ripple on PopupBox Style

2 participants